<?php
	require('config.php');
	$email = $_POST["email"];
	$stmt = $connection->prepare("select 1 from user_id_passwd where email=? limit 1");
	$stmt->bind_param("s", $email);
	$stmt->execute();
	$stmt->store_result();
	$row_cnt = $stmt->num_rows;
	if ($row_cnt == 0)
	{
		echo "true";
	}
	else
	{
		echo "false";	
	}
	$stmt->close();
    $connection->close();
?>
